%option noyywrap
%{
	#include<iostream>
	#include<csdio>
  	#include<set>
	#include<string>
	using namespace std;
	int amount=0;
	set<string> text;
%}
/*正规定义*/
digit	[0-9]
ninenum	{digit}}{9}
word	NAME
number	{digit}+(\.{digit}+)?(E[+\-]?{digit}+)?
%%
^ninenum	{printf("201492299");}
word$	{printf("SX");}
number	{printf("%d",2*atof(yytext)+201492299);amount++;text.insert(yytext);}
.	{cout<<yytext;}
%%
int main()
{
	yylex();
	printf("%d\t%d\n",amount,text.size());
	return 0;
}

